package com.example.shorg.dataobject;

import com.example.shorg.enums.BannerStatusEnum;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import java.util.Date;

@Entity
@Data
public class BannerBean {

    @Id
    private Integer id;

    //产品id
    private Integer businessId;

    //添加时间
    private Date dateAdd;

    //更新时间
    private Date dateUpdate;

    //跳转连接
    private String linkUrl;

    //图片连接
    private String picUrl;
    private Integer paixu;

    //备注
    private String remark;
    //图片的状态
    private Integer status = BannerStatusEnum.NEW.getCode();
    //标题
    private String title;
    //类型
    private Integer type;
    //用户id
    private String userId;

}
